package com.xbjtech.model;

import java.math.BigDecimal;
import java.util.Date;

public class Order {
    private Long id;

    private String linkname;

    private String linkmobile;

    private String cartype;

    private String linkaddress;

    private Long businessid;
    
    private BusinessUser businessUser;

    private String taobaoorderid;

    private String content;

    private Integer deleted;

    private Date createtime;

    private Long createid;

    private Date updatetime;

    private Long storeid;

    private Long pduserid;

    private Date pdtime;

    private BigDecimal price;

    private BigDecimal installprice;

    private Long state;

    private byte[] remark;
    
    @SuppressWarnings("unused")
	private String remarkString;
    
    public String getRemarkString() {
    	if (null != remark) {
    		return new String(remark);
    	}
    	return null;
	}

	public void setRemarkString(String remarkString) {
		this.remarkString = remarkString;
		if (null != remarkString) {
			this.remark = remarkString.getBytes();
		}
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLinkname() {
        return linkname;
    }

    public void setLinkname(String linkname) {
        this.linkname = linkname == null ? null : linkname.trim();
    }

    public String getLinkmobile() {
        return linkmobile;
    }

    public void setLinkmobile(String linkmobile) {
        this.linkmobile = linkmobile == null ? null : linkmobile.trim();
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype == null ? null : cartype.trim();
    }

    public String getLinkaddress() {
        return linkaddress;
    }

    public void setLinkaddress(String linkaddress) {
        this.linkaddress = linkaddress == null ? null : linkaddress.trim();
    }

    public Long getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Long businessid) {
        this.businessid = businessid;
    }

    public String getTaobaoorderid() {
        return taobaoorderid;
    }

    public void setTaobaoorderid(String taobaoorderid) {
        this.taobaoorderid = taobaoorderid == null ? null : taobaoorderid.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getCreateid() {
        return createid;
    }

    public void setCreateid(Long createid) {
        this.createid = createid;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Long getStoreid() {
        return storeid;
    }

    public void setStoreid(Long storeid) {
        this.storeid = storeid;
    }

    public Long getPduserid() {
        return pduserid;
    }

    public void setPduserid(Long pduserid) {
        this.pduserid = pduserid;
    }

    public Date getPdtime() {
        return pdtime;
    }

    public void setPdtime(Date pdtime) {
        this.pdtime = pdtime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getInstallprice() {
        return installprice;
    }

    public void setInstallprice(BigDecimal installprice) {
        this.installprice = installprice;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public byte[] getRemark() {
        return remark;
    }

    public void setRemark(byte[] remark) {
        this.remark = remark;
    }

	public BusinessUser getBusinessUser() {
		return businessUser;
	}

	public void setBusinessUser(BusinessUser businessUser) {
		this.businessUser = businessUser;
	}
}